package com.tanjie.blackbean.system.admin.model.org;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;


/**
 * 组织机构
 *
 * @author tanjie
 * @since 2022-04-19
 */
@Data
@Schema(name = "OrgQuery", description = "组织机构")
public class OrgQuery implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @Schema(description = "主键")
    private String id;

    /**
     * 组织名称
     */
    @Schema(description = "组织名称")
    private String name;

    /**
     * 父主键
     */
    @Schema(description = "父主键")
    private String parentId;

    /**
     * 组织全称
     */
    @Schema(description = "组织全称")
    private String fullName;

    /**
     * 组织机构树的深度
     */
    @Schema(description = "组织机构树的深度")
    private Integer layer;

    /**
     * 排序
     */
    @Schema(description = "排序")
    private Integer sort;

    /**
     * 备注
     */
    @Schema(description = "备注")
    private String remark;

    /**
     * 创建时间
     */
    @Schema(description = "创建时间")
    private Date createTime;

    /**
     * 更新时间
     */
    @Schema(description = "更新时间")
    private Date updateTime;

    /**
     * 创建人id
     */
    @Schema(description = "创建人id")
    private String createBy;

    /**
     * 修改人id
     */
    @Schema(description = "修改人id")
    private String updateBy;


}
